#include <iostream>
#include "board.hpp"

int main() {
    Board board("/dev/base_board", 1000000,5);
    board.openPort();
    board.enable_reception();
    std::cout << "START..." << std::endl;

    board.set_led(0.1, 0.9, 1);
    board.set_buzzer(3000, 0.05, 0.01, 1);
    // board.set_motor_speed({{1, 0.6}, {2, 0.6}, {3, -0.6}, {4, -0.6}});
    // std::this_thread::sleep_for(std::chrono::seconds(1));
    // board.set_motor_speed({{1, 0}, {2, 0}, {3, 0}, {4, 0}});

    return 0;
}
